'use strict';
const db = uniCloud.database();

module.exports = {
	async cateData() {
		let cateRes = db.collection('category').orderBy('sort', 'asc').get()
		return {
			categories:(await cateRes).data,
		}
	}
}

